<div class="box box-info">
  <div class="box-header with-border">
    <h3 class="box-title">职位编辑</h3>
  </div>

  <form class="form-horizontal" action="/api/position/update" id="posupdate" method="post"
    enctype="multipart/form-data">
    <div class="box-body">.
      <div class="form-group">
        <label for="companyLogo" class="col-sm-2 control-label">公司Logo</label>

        <div class="col-sm-10">
          <img src="http://localhost:3000/upload/{{companyLogo}}" style="width:50px;height:50px;" alt="">
          <input type="file" class="form-control" name="companyLogo" id="companyLogo" placeholder="请选择公司logo图片">
        </div>
      </div>
      <div class="form-group">
        <label for="companyName" class="col-sm-2 control-label">公司名称</label>

        <div class="col-sm-10">
          <input type="text" class="form-control" value="{{companyName}}" name="companyName" id="companyName"
            placeholder="请输入公司名称">
        </div>
      </div>
      <div class="form-group">
        <label for="positionName" class="col-sm-2 control-label">职位名称</label>

        <div class="col-sm-10">
          <input type="text" class="form-control" value="{{positionName}}" name="positionName" id="positionName"
            placeholder="请输入职位名称">
        </div>
      </div>
      <div class="form-group">
        <label for="city" class="col-sm-2 control-label">工作地点</label>

        <div class="col-sm-10">
          <input type="text" class="form-control" value="{{city}}" name="city" id="city" placeholder="请输入工作地点">
        </div>
      </div>
      <div class="form-group">
        <label for="salary" class="col-sm-2 control-label">岗位薪资</label>

        <div class="col-sm-10">
          <input type="text" class="form-control" value="{{salary}}" name="salary" id="salary" placeholder="请输入岗位薪资">
        </div>
      </div>
    </div>

    <div class="box-footer">
      <button type="button" id="posback" class="btn btn-default" name="update_back">返回</button>
      <button type="button" id="btn-update" class="btn btn-info pull-right" name="update_submit">提交</button>
    </div>

    <input type="hidden" name="_id" value="{{_id}}">
  </form>
</div>